home *** CD-ROM | disk | FTP | other *** search
- // WinHacker Script
- // Copyright (c) 1996 Wedge Software
- //
- // Ask example INI script
- //
- //
- // This shows how you can Ask the user a question inside
- // a script file.
- //
- // Use the item "Ask" and set the value to what you want
- // to ask the user. If the user answers YES, the procedure
- // will run, if they answer NO, the current procedure will
- // be canceled, and the next one will run.
- //
-
- [Main]
- Desc = This just shows how to ask questions
- Ask = Click yes, this is in Main
- StartMessage = This is a start message.
- ExitMessage = This is a exit message.
-
- [Ini]
- Procs = 2
-
- [IniProc#1]
- Ask = Run Procedure Number 1?
- Location = Browse
- File = test.ini
- Section = General
- Item = One
- Action = Write
- Value = This is a string written by IniProc#1
-
- [IniProc#2]
- Ask = Run Procedure Number 2?
- Location = Browse
- File = test.ini
- Section = General
- Item = Two
- Action = Write
- Value = This is a string written by IniProc#2
-